import React from "react";
import ReactDom from "react-dom";

import { Button, Switch } from 'antd';
import indexless from "./index.less";
import Pic from "./g.jpg";
import About from "./components/About";

const Div = document.createElement("div");
Div.setAttribute("id", "root");
document.body.appendChild(Div);

ReactDom.render(
    <div>
      <h1 className={indexless.red}>hello, world!333</h1>
      <Button type="primary">Primary</Button>
      <Switch defaultChecked />
      <img src={Pic}  className={indexless.imgs}></img>
      <About />
    </div>,
    document.getElementById("root")
);